import request from '@/utils/request'

// 办公场地修改
export function updateOfficePlace(data) {
  return request({
    url: '/officePlace/update',
    method: 'POST',
    data
  })
}

// 办公场地删除
export function deleteOfficePlace(params) {
  return request({
    url: '/officePlace/delete',
    method: 'POST',
    params
  })
}

// 办公场地添加
export function addOfficePlace(data) {
  return request({
    url: '/officePlace/add',
    method: 'POST',
    data
  })
}

// 办公场地列表
export function getListPlace(params) {
  return request({
    url: '/officePlace/getListPlace',
    method: 'post',
    params
  })
}

// 查询办公场地单条
export function selectOfficePlace(params) {
  return request({
    url: '/officePlace/load',
    method: 'POST',
    params
  })
}

